#include "Item.h"

#include <glm/gtc/matrix_transform.hpp>

namespace Fysics
{
	Item::Item(const std::string& id, const std::string& name ,
		const glm::vec3& position, const glm::vec3& rotation, const glm::vec3& scaling)
		: Object(id, name, position, rotation, scaling), m_Meshes(nullptr)
	{
		SetType(ITEM);
	}

	Item::~Item()
	{
	}

	void Item::OnEvent(Event& event)
	{

	}

	void Item::Draw() const
	{
		if (m_Meshes != nullptr)
		{
			m_Meshes->Draw(GetModelMatrix());
		}
	}
}